Optimal. Leaf size=50 \[ \sqrt {\frac {1}{\sqrt {x}}+1} x-\frac {3}{2} \sqrt {\frac {1}{\sqrt {x}}+1} \sqrt {x}+\frac {3}{2} \tanh ^{-1}\left (\sqrt {\frac {1}{\sqrt {x}}+1}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.01, antiderivative size = 50, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 11, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.364, Rules used = {190, 51, 63, 207} \[ \sqrt {\frac {1}{\sqrt {x}}+1} x-\frac {3}{2} \sqrt {\frac {1}{\sqrt {x}}+1} \sqrt {x}+\frac {3}{2} \tanh ^{-1}\left (\sqrt {\frac {1}{\sqrt {x}}+1}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 51
Rule 63
Rule 190
Rule 207
Rubi steps
\begin {align*} \int \frac {1}{\sqrt {1+\frac {1}{\sqrt {x}}}} \, dx &=-\left (2 \operatorname {Subst}\left (\int \frac {1}{x^3 \sqrt {1+x}} \, dx,x,\frac {1}{\sqrt {x}}\right )\right )\\ &=\sqrt {1+\frac {1}{\sqrt {x}}} x+\frac {3}{2} \operatorname {Subst}\left (\int \frac {1}{x^2 \sqrt {1+x}} \, dx,x,\frac {1}{\sqrt {x}}\right )\\ &=-\frac {3}{2} \sqrt {1+\frac {1}{\sqrt {x}}} \sqrt {x}+\sqrt {1+\frac {1}{\sqrt {x}}} x-\frac {3}{4} \operatorname {Subst}\left (\int \frac {1}{x \sqrt {1+x}} \, dx,x,\frac {1}{\sqrt {x}}\right )\\ &=-\frac {3}{2} \sqrt {1+\frac {1}{\sqrt {x}}} \sqrt {x}+\sqrt {1+\frac {1}{\sqrt {x}}} x-\frac {3}{2} \operatorname {Subst}\left (\int \frac {1}{-1+x^2} \, dx,x,\sqrt {1+\frac {1}{\sqrt {x}}}\right )\\ &=-\frac {3}{2} \sqrt {1+\frac {1}{\sqrt {x}}} \sqrt {x}+\sqrt {1+\frac {1}{\sqrt {x}}} x+\frac {3}{2} \tanh ^{-1}\left (\sqrt {1+\frac {1}{\sqrt {x}}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] time = 0.01, size = 28, normalized size = 0.56 \[ 4 \sqrt {\frac {1}{\sqrt {x}}+1} \, _2F_1\left (\frac {1}{2},3;\frac {3}{2};1+\frac {1}{\sqrt {x}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.80, size = 55, normalized size = 1.10 \[ \frac {1}{2} \, {\left (2 \, x - 3 \, \sqrt {x}\right )} \sqrt {\frac {x + \sqrt {x}}{x}} + \frac {3}{4} \, \log \left (\sqrt {\frac {x + \sqrt {x}}{x}} + 1\right ) - \frac {3}{4} \, \log \left (\sqrt {\frac {x + \sqrt {x}}{x}} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.31, size = 36, normalized size = 0.72 \[ \frac {1}{2} \, \sqrt {x + \sqrt {x}} {\left (2 \, \sqrt {x} - 3\right )} - \frac {3}{4} \, \log \left (-2 \, \sqrt {x + \sqrt {x}} + 2 \, \sqrt {x} + 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.02, size = 65, normalized size = 1.30 \[ \frac {\sqrt {\frac {\sqrt {x}+1}{\sqrt {x}}}\, \left (3 \ln \left (\sqrt {x}+\frac {1}{2}+\sqrt {x +\sqrt {x}}\right )+4 \sqrt {x +\sqrt {x}}\, \sqrt {x}-6 \sqrt {x +\sqrt {x}}\right ) \sqrt {x}}{4 \sqrt {\left (\sqrt {x}+1\right ) \sqrt {x}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 0.48, size = 62, normalized size = 1.24 \[ -\frac {3 \, {\left (\frac {1}{\sqrt {x}} + 1\right )}^{\frac {3}{2}} - 5 \, \sqrt {\frac {1}{\sqrt {x}} + 1}}{2 \, {\left ({\left (\frac {1}{\sqrt {x}} + 1\right )}^{2} - \frac {2}{\sqrt {x}} - 1\right )}} + \frac {3}{4} \, \log \left (\sqrt {\frac {1}{\sqrt {x}} + 1} + 1\right ) - \frac {3}{4} \, \log \left (\sqrt {\frac {1}{\sqrt {x}} + 1} - 1\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 1.19, size = 27, normalized size = 0.54 \[ \frac {4\,x\,\sqrt {\sqrt {x}+1}\,{{}}_2{\mathrm {F}}_1\left (\frac {1}{2},\frac {5}{2};\ \frac {7}{2};\ -\sqrt {x}\right )}{5\,\sqrt {\frac {1}{\sqrt {x}}+1}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 3.24, size = 60, normalized size = 1.20 \[ \frac {x^{\frac {5}{4}}}{\sqrt {\sqrt {x} + 1}} - \frac {x^{\frac {3}{4}}}{2 \sqrt {\sqrt {x} + 1}} - \frac {3 \sqrt [4]{x}}{2 \sqrt {\sqrt {x} + 1}} + \frac {3 \operatorname {asinh}{\left (\sqrt [4]{x} \right )}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________